package ThisTestBoyAndGirl;

public class BoyGirlTest {
    public static void main(String[] args) {
        Boy boy = new Boy("罗密欧",22);
        Girl girl = new Girl("朱丽叶",22);

        boy.shout();
        girl.marry(boy);

        Girl girl1 = new Girl("祝英台",19);
        System.out.println(girl.compare(girl1));

    }
}
